[INFO] cloning repository https://github.com/LuukBlankenstijn/imaged
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LuukBlankenstijn/imaged" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuukBlankenstijn%2Fimaged", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuukBlankenstijn%2Fimaged'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 809b3bdd959ba465a719b920a82f9e563dc3869a
[INFO] fixing LuukBlankenstijn/imaged against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuukBlankenstijn%2Fimaged" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/LuukBlankenstijn/imaged
[INFO] finished tweaking git repo https://github.com/LuukBlankenstijn/imaged
[INFO] tweaked toml for git repo https://github.com/LuukBlankenstijn/imaged written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LuukBlankenstijn/imaged on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LuukBlankenstijn/imaged already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded reqwest-eventsource v0.6.0
[INFO] [stderr]   Downloaded axum-macros v0.5.1
[INFO] [stderr]   Downloaded tonic v0.14.5
[INFO] [stderr]   Downloaded redox_syscall v0.7.4
[INFO] [stderr]   Downloaded tonic-prost v0.14.5
[INFO] [stderr]   Downloaded rustls v0.23.39
[INFO] [stderr]   Downloaded prost-derive v0.14.3
[INFO] [stderr]   Downloaded hybrid-array v0.4.11
[INFO] [stderr]   Downloaded prost v0.14.3
[INFO] [stderr]   Downloaded prost-types v0.14.3
[INFO] [stderr]   Downloaded tonic-web v0.14.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c492d6802f95791a40c40b8b7c0befeeda370574ecaf1057ea49f172ce2c7449
[INFO] running `Command { std: "docker" "start" "c492d6802f95791a40c40b8b7c0befeeda370574ecaf1057ea49f172ce2c7449", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c492d6802f95791a40c40b8b7c0befeeda370574ecaf1057ea49f172ce2c7449" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c492d6802f95791a40c40b8b7c0befeeda370574ecaf1057ea49f172ce2c7449", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c492d6802f95791a40c40b8b7c0befeeda370574ecaf1057ea49f172ce2c7449" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]     Checking hashbrown v0.17.0
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking litemap v0.8.2
[INFO] [stderr]     Checking writeable v0.6.3
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking typenum v1.20.0
[INFO] [stderr]    Compiling rustls v0.23.39
[INFO] [stderr]     Checking ipnet v2.12.0
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling tokio v1.52.1
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]     Checking matchit v0.8.4
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]     Checking zerofrom v0.1.7
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.11
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling axum-macros v0.5.1
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]    Compiling tokio-stream v0.1.18
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking pin-project v1.1.11
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking h2 v0.4.13
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling prost-derive v0.14.3
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hashlink v0.10.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking iri-string v0.7.12
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling sqlx-core v0.8.6
[INFO] [stderr]     Checking prost v0.14.3
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]     Checking hybrid-array v0.4.11
[INFO] [stderr]    Compiling memoffset v0.9.1
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]     Checking tower-http v0.6.8
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking webpki-roots v1.0.7
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]     Checking block-buffer v0.12.0
[INFO] [stderr]     Checking crypto-common v0.2.1
[INFO] [stderr]     Checking imaged-shared v0.1.0 (/opt/rustwide/workdir/crates/shared)
[INFO] [stderr]     Checking prost-types v0.14.3
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking const-oid v0.10.2
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking digest v0.11.2
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]    Compiling sqlx-sqlite v0.8.6
[INFO] [stderr]     Checking eventsource-stream v0.2.3
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking sha2 v0.11.0
[INFO] [stderr]     Checking mac_address v1.1.8
[INFO] [stderr]     Checking hyper-timeout v0.5.2
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking hyper-rustls v0.27.9
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking reqwest v0.12.28
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.6
[INFO] [stderr]     Checking reqwest-eventsource v0.6.0
[INFO] [stderr]     Checking imaged-client v0.1.0 (/opt/rustwide/workdir/crates/client)
[INFO] [stderr]    Compiling sqlx-macros v0.8.6
[INFO] [stderr]     Checking sqlx v0.8.6
[INFO] [stderr]     Checking tonic v0.14.5
[INFO] [stderr]     Checking tonic-prost v0.14.5
[INFO] [stderr]     Checking tonic-web v0.14.5
[INFO] [stderr]     Checking imaged-rpc v0.1.0 (/opt/rustwide/workdir/gen/rs)
[INFO] [stderr]     Checking imaged-server v0.1.0 (/opt/rustwide/workdir/crates/server)
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/host.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 |           let host = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 39 | |             HostRow,
[INFO] [stdout] 40 | |             r#"
[INFO] [stdout] 41 | |                 INSERT INTO hosts (mac, name, disk_size_bytes)
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |             size
[INFO] [stdout] 54 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/host.rs:62:20
[INFO] [stdout]    |
[INFO] [stdout] 62 |           let host = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 63 | |             HostRow,
[INFO] [stdout] 64 | |             "UPDATE hosts set name = ? WHERE id = ? RETURNING *",
[INFO] [stdout] 65 | |             name,
[INFO] [stdout] 66 | |             id
[INFO] [stdout] 67 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/host.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |         Ok(sqlx::query_as!(HostRow, "SELECT * FROM hosts")
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/host.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |         sqlx::query_as!(HostRow, "DELETE FROM hosts WHERE id = ?", id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/host.rs:91:12
[INFO] [stdout]     |
[INFO] [stdout]  91 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout]  92 | |             HostRow,
[INFO] [stdout]  93 | |             r#"
[INFO] [stdout]  94 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 102 | |             mac
[INFO] [stdout] 103 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/image.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let result = sqlx::query!("SELECT status FROM images WHERE id = ?", id)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/image.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |           let image = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 26 | |             "INSERT INTO images (name, status) VALUES (?,?) RETURNING *",
[INFO] [stdout] 27 | |             name,
[INFO] [stdout] 28 | |             status
[INFO] [stdout] 29 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/image.rs:43:21
[INFO] [stdout]    |
[INFO] [stdout] 43 |           let image = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 44 | |             r#"UPDATE images SET name = ? WHERE id = ?
[INFO] [stdout] 45 | |                RETURNING
[INFO] [stdout] 46 | |                  id as "id!: i64",
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |             id
[INFO] [stdout] 54 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/image.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |           let partitions = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 59 | |             r#"SELECT
[INFO] [stdout] 60 | |                 id as "id!: i64",
[INFO] [stdout] 61 | |                 partition_number,
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |             id
[INFO] [stdout] 68 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:97:20
[INFO] [stdout]     |
[INFO] [stdout]  97 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout]  98 | |             r#"
[INFO] [stdout]  99 | |             SELECT 
[INFO] [stdout] 100 | |                 i.id AS "image_id!",
[INFO] [stdout] ...   |
[INFO] [stdout] 114 | |             "#
[INFO] [stdout] 115 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:179:25
[INFO] [stdout]     |
[INFO] [stdout] 179 |           let partition = sqlx::query!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 180 | |             r#"
[INFO] [stdout] 181 | |                 INSERT INTO image_partitions 
[INFO] [stdout] 182 | |                     (image_id, partition_number, fstype, size_bytes, file_path, sha256) 
[INFO] [stdout] ...   |
[INFO] [stdout] 192 | |             partition.sha256
[INFO] [stdout] 193 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 |         sqlx::query!("DELETE FROM images WHERE id = ?", id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         sqlx::query!("DELETE FROM image_partitions WHERE image_id = ?", id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |         sqlx::query!("UPDATE images SET status = ? WHERE id = ?", status, id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 | /         sqlx::query!(
[INFO] [stdout] 230 | |             "UPDATE images SET status = ?, captured_at = ? WHERE id = ?",
[INFO] [stdout] 231 | |             status,
[INFO] [stdout] 232 | |             now,
[INFO] [stdout] 233 | |             id
[INFO] [stdout] 234 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 | /         sqlx::query!(
[INFO] [stdout] 243 | |             "UPDATE images SET status = ?, error = ? WHERE id = ?",
[INFO] [stdout] 244 | |             status,
[INFO] [stdout] 245 | |             error,
[INFO] [stdout] 246 | |             id
[INFO] [stdout] 247 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/task.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |           let row = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 51 | |             TaskRow,
[INFO] [stdout] 52 | |             r#"
[INFO] [stdout] 53 | |             INSERT INTO tasks (type, host_id, image_id, state, created_at)
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |             now
[INFO] [stdout] 71 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:82:19
[INFO] [stdout]     |
[INFO] [stdout]  82 |           let row = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout]  83 | |             TaskRow,
[INFO] [stdout]  84 | |             r#"
[INFO] [stdout]  85 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 105 | |             pending_str
[INFO] [stdout] 106 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 | /         sqlx::query!(
[INFO] [stdout] 120 | |             "UPDATE tasks SET state = ?, started_at = NULL, finished_at = NULL, error = NULL WHERE id = ?",
[INFO] [stdout] 121 | |             pending_state,
[INFO] [stdout] 122 | |             id
[INFO] [stdout] 123 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 | /         sqlx::query!(
[INFO] [stdout] 136 | |             "UPDATE tasks SET state = ?, started_at = ? WHERE id = ? AND (state = ? OR state = ?)",
[INFO] [stdout] 137 | |             running,
[INFO] [stdout] 138 | |             now,
[INFO] [stdout] ...   |
[INFO] [stdout] 141 | |             running,
[INFO] [stdout] 142 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 | /         sqlx::query!(
[INFO] [stdout] 156 | |             "UPDATE tasks SET state = ?, finished_at = ? WHERE id = ? AND (state = ? OR state = ?)",
[INFO] [stdout] 157 | |             cancelled_state,
[INFO] [stdout] 158 | |             now,
[INFO] [stdout] ...   |
[INFO] [stdout] 161 | |             running_state
[INFO] [stdout] 162 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:173:20
[INFO] [stdout]     |
[INFO] [stdout] 173 |           let rows = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 174 | |             TaskRow,
[INFO] [stdout] 175 | |             r#"
[INFO] [stdout] 176 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | |             running
[INFO] [stdout] 189 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:198:20
[INFO] [stdout]     |
[INFO] [stdout] 198 |           let rows = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 199 | |             TaskRow,
[INFO] [stdout] 200 | |             r#"
[INFO] [stdout] 201 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | |             "#
[INFO] [stdout] 210 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:218:19
[INFO] [stdout]     |
[INFO] [stdout] 218 |           let row = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 219 | |             TaskRow,
[INFO] [stdout] 220 | |             r#"
[INFO] [stdout] 221 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | |             id
[INFO] [stdout] 231 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 | /         sqlx::query!(
[INFO] [stdout] 242 | |             "UPDATE tasks SET state = ?, finished_at = ? WHERE id = ?",
[INFO] [stdout] 243 | |             state,
[INFO] [stdout] 244 | |             now,
[INFO] [stdout] 245 | |             id
[INFO] [stdout] 246 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 | /         sqlx::query!(
[INFO] [stdout] 257 | |             "UPDATE tasks SET state = ?, finished_at = ?, error = ? WHERE id = ?",
[INFO] [stdout] 258 | |             state,
[INFO] [stdout] 259 | |             now,
[INFO] [stdout] 260 | |             error,
[INFO] [stdout] 261 | |             id
[INFO] [stdout] 262 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DateTime`
[INFO] [stdout]  --> crates/server/src/repository/image.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/host.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 |           let host = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 39 | |             HostRow,
[INFO] [stdout] 40 | |             r#"
[INFO] [stdout] 41 | |                 INSERT INTO hosts (mac, name, disk_size_bytes)
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |             size
[INFO] [stdout] 54 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/host.rs:62:20
[INFO] [stdout]    |
[INFO] [stdout] 62 |           let host = sqlx::query_as!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 63 | |             HostRow,
[INFO] [stdout] 64 | |             "UPDATE hosts set name = ? WHERE id = ? RETURNING *",
[INFO] [stdout] 65 | |             name,
[INFO] [stdout] 66 | |             id
[INFO] [stdout] 67 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/host.rs:75:12
[INFO] [stdout]    |
[INFO] [stdout] 75 |         Ok(sqlx::query_as!(HostRow, "SELECT * FROM hosts")
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/host.rs:84:9
[INFO] [stdout]    |
[INFO] [stdout] 84 |         sqlx::query_as!(HostRow, "DELETE FROM hosts WHERE id = ?", id)
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/host.rs:91:12
[INFO] [stdout]     |
[INFO] [stdout]  91 |           Ok(sqlx::query_as!(
[INFO] [stdout]     |  ____________^
[INFO] [stdout]  92 | |             HostRow,
[INFO] [stdout]  93 | |             r#"
[INFO] [stdout]  94 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 102 | |             mac
[INFO] [stdout] 103 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/image.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let result = sqlx::query!("SELECT status FROM images WHERE id = ?", id)
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/image.rs:25:21
[INFO] [stdout]    |
[INFO] [stdout] 25 |           let image = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 26 | |             "INSERT INTO images (name, status) VALUES (?,?) RETURNING *",
[INFO] [stdout] 27 | |             name,
[INFO] [stdout] 28 | |             status
[INFO] [stdout] 29 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/image.rs:43:21
[INFO] [stdout]    |
[INFO] [stdout] 43 |           let image = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 44 | |             r#"UPDATE images SET name = ? WHERE id = ?
[INFO] [stdout] 45 | |                RETURNING
[INFO] [stdout] 46 | |                  id as "id!: i64",
[INFO] [stdout] ...  |
[INFO] [stdout] 53 | |             id
[INFO] [stdout] 54 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/image.rs:58:26
[INFO] [stdout]    |
[INFO] [stdout] 58 |           let partitions = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 59 | |             r#"SELECT
[INFO] [stdout] 60 | |                 id as "id!: i64",
[INFO] [stdout] 61 | |                 partition_number,
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |             id
[INFO] [stdout] 68 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:97:20
[INFO] [stdout]     |
[INFO] [stdout]  97 |           let rows = sqlx::query!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout]  98 | |             r#"
[INFO] [stdout]  99 | |             SELECT 
[INFO] [stdout] 100 | |                 i.id AS "image_id!",
[INFO] [stdout] ...   |
[INFO] [stdout] 114 | |             "#
[INFO] [stdout] 115 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:179:25
[INFO] [stdout]     |
[INFO] [stdout] 179 |           let partition = sqlx::query!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 180 | |             r#"
[INFO] [stdout] 181 | |                 INSERT INTO image_partitions 
[INFO] [stdout] 182 | |                     (image_id, partition_number, fstype, size_bytes, file_path, sha256) 
[INFO] [stdout] ...   |
[INFO] [stdout] 192 | |             partition.sha256
[INFO] [stdout] 193 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:208:9
[INFO] [stdout]     |
[INFO] [stdout] 208 |         sqlx::query!("DELETE FROM images WHERE id = ?", id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:216:9
[INFO] [stdout]     |
[INFO] [stdout] 216 |         sqlx::query!("DELETE FROM image_partitions WHERE image_id = ?", id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:219:9
[INFO] [stdout]     |
[INFO] [stdout] 219 |         sqlx::query!("UPDATE images SET status = ? WHERE id = ?", status, id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:229:9
[INFO] [stdout]     |
[INFO] [stdout] 229 | /         sqlx::query!(
[INFO] [stdout] 230 | |             "UPDATE images SET status = ?, captured_at = ? WHERE id = ?",
[INFO] [stdout] 231 | |             status,
[INFO] [stdout] 232 | |             now,
[INFO] [stdout] 233 | |             id
[INFO] [stdout] 234 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/image.rs:242:9
[INFO] [stdout]     |
[INFO] [stdout] 242 | /         sqlx::query!(
[INFO] [stdout] 243 | |             "UPDATE images SET status = ?, error = ? WHERE id = ?",
[INFO] [stdout] 244 | |             status,
[INFO] [stdout] 245 | |             error,
[INFO] [stdout] 246 | |             id
[INFO] [stdout] 247 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]   --> crates/server/src/repository/task.rs:50:19
[INFO] [stdout]    |
[INFO] [stdout] 50 |           let row = sqlx::query_as!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 51 | |             TaskRow,
[INFO] [stdout] 52 | |             r#"
[INFO] [stdout] 53 | |             INSERT INTO tasks (type, host_id, image_id, state, created_at)
[INFO] [stdout] ...  |
[INFO] [stdout] 70 | |             now
[INFO] [stdout] 71 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:82:19
[INFO] [stdout]     |
[INFO] [stdout]  82 |           let row = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout]  83 | |             TaskRow,
[INFO] [stdout]  84 | |             r#"
[INFO] [stdout]  85 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 105 | |             pending_str
[INFO] [stdout] 106 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 | /         sqlx::query!(
[INFO] [stdout] 120 | |             "UPDATE tasks SET state = ?, started_at = NULL, finished_at = NULL, error = NULL WHERE id = ?",
[INFO] [stdout] 121 | |             pending_state,
[INFO] [stdout] 122 | |             id
[INFO] [stdout] 123 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:135:9
[INFO] [stdout]     |
[INFO] [stdout] 135 | /         sqlx::query!(
[INFO] [stdout] 136 | |             "UPDATE tasks SET state = ?, started_at = ? WHERE id = ? AND (state = ? OR state = ?)",
[INFO] [stdout] 137 | |             running,
[INFO] [stdout] 138 | |             now,
[INFO] [stdout] ...   |
[INFO] [stdout] 141 | |             running,
[INFO] [stdout] 142 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:155:9
[INFO] [stdout]     |
[INFO] [stdout] 155 | /         sqlx::query!(
[INFO] [stdout] 156 | |             "UPDATE tasks SET state = ?, finished_at = ? WHERE id = ? AND (state = ? OR state = ?)",
[INFO] [stdout] 157 | |             cancelled_state,
[INFO] [stdout] 158 | |             now,
[INFO] [stdout] ...   |
[INFO] [stdout] 161 | |             running_state
[INFO] [stdout] 162 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:173:20
[INFO] [stdout]     |
[INFO] [stdout] 173 |           let rows = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 174 | |             TaskRow,
[INFO] [stdout] 175 | |             r#"
[INFO] [stdout] 176 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 188 | |             running
[INFO] [stdout] 189 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:198:20
[INFO] [stdout]     |
[INFO] [stdout] 198 |           let rows = sqlx::query_as!(
[INFO] [stdout]     |  ____________________^
[INFO] [stdout] 199 | |             TaskRow,
[INFO] [stdout] 200 | |             r#"
[INFO] [stdout] 201 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 209 | |             "#
[INFO] [stdout] 210 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:218:19
[INFO] [stdout]     |
[INFO] [stdout] 218 |           let row = sqlx::query_as!(
[INFO] [stdout]     |  ___________________^
[INFO] [stdout] 219 | |             TaskRow,
[INFO] [stdout] 220 | |             r#"
[INFO] [stdout] 221 | |             SELECT 
[INFO] [stdout] ...   |
[INFO] [stdout] 230 | |             id
[INFO] [stdout] 231 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 | /         sqlx::query!(
[INFO] [stdout] 242 | |             "UPDATE tasks SET state = ?, finished_at = ? WHERE id = ?",
[INFO] [stdout] 243 | |             state,
[INFO] [stdout] 244 | |             now,
[INFO] [stdout] 245 | |             id
[INFO] [stdout] 246 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: set `DATABASE_URL` to use query macros online, or run `cargo sqlx prepare` to update the query cache
[INFO] [stdout]    --> crates/server/src/repository/task.rs:256:9
[INFO] [stdout]     |
[INFO] [stdout] 256 | /         sqlx::query!(
[INFO] [stdout] 257 | |             "UPDATE tasks SET state = ?, finished_at = ?, error = ? WHERE id = ?",
[INFO] [stdout] 258 | |             state,
[INFO] [stdout] 259 | |             now,
[INFO] [stdout] 260 | |             error,
[INFO] [stdout] 261 | |             id
[INFO] [stdout] 262 | |         )
[INFO] [stdout]     | |_________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DateTime`
[INFO] [stdout]  --> crates/server/src/repository/image.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, Utc};
[INFO] [stdout]   |              ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `imaged-server` (bin "imaged-server") due to 26 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `imaged-server` (bin "imaged-server" test) due to 26 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c492d6802f95791a40c40b8b7c0befeeda370574ecaf1057ea49f172ce2c7449", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c492d6802f95791a40c40b8b7c0befeeda370574ecaf1057ea49f172ce2c7449", kill_on_drop: false }`
[INFO] [stdout] c492d6802f95791a40c40b8b7c0befeeda370574ecaf1057ea49f172ce2c7449
